約 4,001,376 件
https://w.atwiki.jp/pontack/pages/18.html
#norelated postfixのこと 基本的に備忘録として使います。 ほとんど更新はありませんのでご了承ください。 ソースからインストール(のメモ) postfixのサイトのサイトからたどってソースを頂きます。 今回頂いたのは、postfix-2.5.1.tar.gz です。 groupの追加 postfix * 10000 postdrop * 10001 ユーザの追加 /etc/passwd postfix * 10000 10000 Postfix owner /nonexistent /sbin/nologin 展開 # tar zxvf postfix-2.5.1.tar.gz postfixのインストール インストールする際にいろいろ聞かれます。 インストール先を変更する場合などは適宜変更します。 # cd postfix-2.5.1 # make # make install スケルトンディレクトリへの追加(Maildir対応時のみ) ディレクトリの作成 # mkdir -p /etc/skel/Maildir/{new,cur,tmp} # chmod -R 700 /etc/skel/Maildir/ エイリアス追加 # vi /etc/aliases postfix root エイリアス反映 # newaliases 設定ファイルの変更デフォルトインストールの場合は、/etc/postfix/ 配下に設定ファイルが格納されています。 make installの際にインストール先を変更した場合は変更した先の設定ファイルを変更します。 # vi /etc/postfix/main.cf 起動スクリプト起動スクリプトを作成します。(/etc/init.d/postfix)インストール先を変更した場合は、スクリプトを適宜変更します。 #!/bin/bash # # postfix This shell script takes care of starting and stopping # postfix. # # chkconfig 2345 80 30 # description Postfix is a Mail Transport Agent, which is the program \ # that moves mail from one machine to another. # processname postfix # config /etc/postfix/main.cf # pidfile /var/run/postfix.pid # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. [ -f /etc/sysconfig/network ] . /etc/sysconfig/network # Check that networking is up. [ "${NETWORKING}" = "no" ] exit 0 RETVAL=0 LOCKFILE=/var/lock/subsys/postfix prog="postfix" start() { # Start echo -n $"Starting $prog " /usr/sbin/postfix start RETVAL=$? echo [ $RETVAL -eq 0 ] touch $LOCKFILE return $RETVAL } stop() { # Stop . echo -n $"Shutting down $prog " /usr/sbin/postfix stop RETVAL=$? echo [ $RETVAL -eq 0 ] rm -f $LOCKFILE return $RETVAL } status() { # Status echo -n $"Status $prog " /usr/sbin/postfix status RETVAL=$? return $RETVAL } # See how we were called. case "$1" in start) start ;; stop) stop ;; restart) stop start RETVAL=$? ;; status) status RETVAL=$? ;; *) echo $"Usage $0 {start|stop|restart|status}" exit 1 esac exit $RETVAL サービス登録# chkconfig --add postfix # chkconfig postfix on # chkconfig --list postfix サービス起動停止確認 # chmod 755 /etc/init.d/postfix # service postfix start # netstat -ln # service postfix stop # netstat -ln # tail /var/log/maillog アンチウィルスソフト導入(のメモ) アンチウィルスソフトとしてClam AntiVirusを導入します。
https://w.atwiki.jp/ah4236/pages/6.html
http //www12.atwiki.jp/ah4236?cmd=upload act=open pageid=5 file=Back.zip
https://w.atwiki.jp/your_ero/pages/6.html
アーカイブ @wikiのwikiモードでは #archive_log() と入力することで、特定のウェブページを保存しておくことができます。 詳しくはこちらをご覧ください。 =>http //atwiki.jp/guide/25_171_ja.html たとえば、#archive_log()と入力すると以下のように表示されます。 保存したいURLとサイト名を入力して"アーカイブログ"をクリックしてみよう 保管 http //www.yourfilehost.com/media.php?cat=vide... (2015-03-11 13 33 39) 保管 http //www.yourfilehost.com/media.php?cat=vide... (2017-01-28 16 36 09) サイト名 URL
https://w.atwiki.jp/parepan/pages/164.html
最低限の設定内容。これだけ設定しておけば一応、動作します。 設定ファイル /etc/postix/main.cf RMPの場合 使用するドメインが「penginsan.ddo.jp」の場合を仮定した設定内容となっています。 1. ホスト名.ドメイン名 myhostname = server00.penginsan.ddo.jp 2. ホスト名 mydomain = penginsan.ddo.jp 3. コメントを外す myorigin = $mydomain 4. 全ての受信を許可する inet_interfaces = all 5. コメントを外す 3の設定と連携 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain 6. 送信を受け付けるネットワークエリア mynetworks = 172.16.0.0/16, 127.0.0.0/8 7.起動 sendmailが起動している場合はsendmailを停止されてから以下のコマンドを入力 # /etc/init.d/postfix start 8./etc/hostsの設定 送信者名のドメイン名が「localhost.localdomain」となるので設定をする。 main.cfの設定次第ではメール送信もできない場合があるので要チェック!! # vi /etc/hosts 127.0.0.0 ホスト名 ドメイン名 localhost ドメイン名に任意のドメイン名を指定します。 8.自動起動設定 # chkconfig --level 345 postfix on sendmailが自動起動となっている場合は # chkconfig off sendmail
https://w.atwiki.jp/ah4236/pages/5.html
file2
https://w.atwiki.jp/sanosoft/pages/76.html
Postfix+Dovecotのインストール PostfixとDovecotでメールサーバを構築します。 ※CentOS7で構築しますので、他のOSの場合はコマンドを読み替えて下さい。 1. Postfixのインストール postfixをインストールします。 (1) インストール # yum install postfix (2) main.cfの編集 「/etc/postfix/main.cf」ファイルを編集します。 # cd /etc/postfix # vi main.cf ■myhostname myhostname = mail.example.com ■mydomain mydomain = example.com ■myorigin myorigin = $mydomain ■inet_interfaces inet_interfaces = all ■inet_protocols inet_protocols = ipv4 ■mydestination mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain ■home_mailbox home_mailbox = Maildir/ それから行末に以下を追加します。 smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_security_options = noanonymous message_size_limit = 10240000 mailbox_size_limit = 102400000 (3) master.cfの編集 「/etc/postfix/master.cf」ファイルを編集します。 ここではサブミッションポートの設定を行います。 # cd /etc/postfix # vi master.cf submission inet n - n - - smtpd # -o syslog_name=postfix/submission # -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING (4) postfixのサービスの起動 postfixのサービスを起動します。 # systemctl start postfix.service postfixの自動起動の設定を行います。 # systemctl enable postfix.service (5) エイリアス設定 「webmaster」、「info」などのメールアカウントを利用したい場合にはエイリアス設定を無効にします。 「/etc/aliases」ファイルを編集します。 # vi /etc/aliases 該当のアカウントをコメントにします。 #webmaster root #info postmaster 「/etc/aliases.db」を更新します。 # newaliases (6) SMTP認証クライアントのインストール SMTP認証クライアントとしてCyrusをインストールします。 # yum install cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 (6) SMTP認証クライアントのインストール ここではSTMP認証ユーザおよびパスワードは、Linuxのアカウントではなく、SASL独自のパスワードデータベースで管理します。 そこで「/etc/sasl2/smtpd.conf」を編集します。 # vi /etc/sasl2/smtpd.conf #pwcheck_method saslauthd pwcheck_method auxprop #mech_list plain login mech_list cram-md5 plain login sasldb2のグループをpostfixに変更します。 # chgrp postfix /etc/sasldb2 ※ユーザの登録が1件もない場合にはこのファイルが存在していない可能性があります。その場合にはユーザを登録後にこの設定を行って下さい。 saslauthdサービスを停止します。 # systemctl stop saslauthd.service # systemctl disable saslauthd.service (7) saslのコマンド ■ユーザー登録 # /usr/sbin/saslpasswd2 -u mail.example.com -c (ユーザー名) ※-uのドメインは、postfixのmain.cfの「smtpd_sasl_local_domain」で指定したものと同じ値にします。この値が一致しないと認証に失敗します。 ■ユーザー削除 # /usr/sbin/saslpasswd2 -u mail.example.com -d (ユーザー名) ■登録している認証ユーザーの確認 # /usr/sbin/sasldblistusers2 2. Dovecotのインストール dovecotをインストールします。 (1) インストール # yum install dovecot (2) dovecot.confの設定 「/etc/devecot/dovecot.conf」を編集します。 protocols = imap pop3 listen = * (3) /etc/dovecot/conf.dの各ファイルの設定 ■10-auth.conf disable_plaintext_auth = no auth_mechanisms = cram-md5 plain login #!include auth-deny.conf.ext #!include auth-master.conf.ext !include auth-system.conf.ext #!include auth-sql.conf.ext #!include auth-ldap.conf.ext !include auth-passwdfile.conf.ext #!include auth-checkpassword.conf.ext #!include auth-vpopmail.conf.ext #!include auth-static.conf.ext ■ 10-mail.conf mail_location = maildir ~/Maildir ■ 10-master.conf service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { #port = 995 #ssl = yes } } service auth { ・・・ (略) ・・・ unix_listener /var/spool/postfix/private/auth { mode = 0666 user = postfix group = postfix } # Auth process is run as this user. #user = $default_internal_user } ■ 10-ssl.conf ssl = no ■ auth-passwdfile.conf.ext passdb { driver = passwd-file args = /etc/dovecot/users } userdb { driver = passwd-file args = /etc/dovecot/users # Default fields that can be overridden by passwd-file #default_fields = quota_rule=* storage=1G # Override fields from passwd-file #override_fields = home=/home/virtual/%u } (4) CRAM-MD5ユーザファイルの作成 CRAM-MD5のパスワードを生成します。 # doveadm pw -s CRAM-MD5 Enter new password (パスワード入力) Retype new password (同じパスワードをもう一度) ※ここでのパスワードはsaslpasswd2で作成したパスワードと同じにします。 以下のようなパスワード文字列が生成されます。(※この文字列はサンプルです。) {CRAM-MD5}072c56cabbc67d2399eeaec47e5962395de0b711ab6f76366f6b80d5671cde47 前述の「auth-passwdfile.conf.ext」で記載したパス名でパスワードファイルを作成し、ユーザー情報および生成したパスワードをファイルに書き込みます。 # vi /etc/dovecot/users 書式は、以下の通りです。 ユーザ名) {CRAM-MD5}(生成したパスワード文字列) 【例】 info {CRAM-MD5}072c56cabbc67d2399eeaec47e5962395de0b711ab6f76366f6b80d5671cde47 作成したパスワードファイルのオーナーをdovecotにします。 # chown dovecot dovecot users (5) dovecotのサービスの起動 dovecotのサービスを起動します。 # systemctl start dovecot.service dovecotの自動起動の設定を行います。 # systemctl enable dovecot.service (6) ユーザ登録時に自動的にMaildirを作成する場合 ユーザ登録時に自動的にMaildirが作成されるようにします。 # mkdir -p /etc/skel/Maildir/{new,cur,tmp} # chmod -R 700 /etc/skel/Maildir/ 3. メール用アカウントの作成 ここでは「info」ユーザを作成してみます。 ※パスワードは、すべて同じにします。 (1) OSユーザの作成 # groupadd info # useradd -g info -d /home/info -s /bin/bash -m info # passwd info (2) SASL認証用のアカウントとパスワードを作成 # saslpasswd2 -u mail.example.com info Password (パスワード) Again (for verification) (パスワード) (3) CRAM-MD5用のアカウントとパスワードを作成 # doveadm pw -s CRAM-MD5 # vi /etc/dovecot/users
https://w.atwiki.jp/ah4236/pages/4.html
http //www12.atwiki.jp/ah4236?cmd=upload act=open pageid=4 file=Back.zip
https://w.atwiki.jp/ero_fantasia/
アダルト専用ソーシャルブックマーク http //adultshelf.com/ 移動しました http //wiki.livedoor.jp/ero_fantasia/d/ このサイトって何? 2chの「yourfilehostエロ動画まとめ」の過去ログを適当にまとめている サイトです。現在Part1~Part23まであります。 yourfilehostエロ動画まとめ 現行スレ http //sakura01.bbspink.com/test/read.cgi/ascii/1199431435/ yourfilehostを扱っているまとめサイト 当初はyourfilehostの動画をまとめる趣旨ではじめた当wikiですがyourfilehostの現状が現状のため存続が難しい状態です。 今後はxvideos系の動画を紹介するサイトをこちらに記述していきたいと思います。おすすめがあったら追加して下さい。 AV動画丸 エロいカレー エロ画像まとめSharing 当サイトはリンクフリーです。
https://w.atwiki.jp/yasrun/pages/241.html
カレントフォルダ(と、そのサブフォルダ)から、目的のファイルを検索し、別なフォルダにコピーしたり移動したりしてまとめます。 オプションでコピー・移動を選択したり、再帰的に検索するかどうかを指定したりできます。 使い方 ExtractFiles.exe [パターン] [コピー先ディレクトリ] /m /r ※検索対象はカレントディレクトリです。 ※パターンにはワイルドカードが使えます。 ※コピー先ディレクトリが存在しない場合、自動的に作成されます。 /m ファイルをコピーではなく移動させます。 /r サブディレクトリも再帰的に検索します。 using System; using System.IO; namespace ExtractFiles { class Program { static void Main(string[] args) { if (args.Length 2) { Usage(); } else { string token = args[0]; string destDirectory = args[1]; bool move = false; bool recursive = false; for (int i = 2; i args.Length; i++) { string option = args[i].ToLower(); if (option == "/m") { move = true; } if (option == "/r") { recursive = true; } } DoExtract(token, destDirectory, move, recursive); } } static void DoExtract(string token, string destDirectory, bool move, bool recursive) { if (!Directory.Exists(destDirectory)) { Directory.CreateDirectory(destDirectory); } string srcDirectory = System.Environment.CurrentDirectory; string[] files = null; if (recursive) { files = Directory.GetFiles(srcDirectory, token, SearchOption.AllDirectories); } else { files = Directory.GetFiles(srcDirectory, token, SearchOption.TopDirectoryOnly); } if (files.Length == 0) { Console.WriteLine("見つかりませんでした。"); } else { foreach (string srcPath in files) { string destPath = destDirectory + "\\" + Path.GetFileName(srcPath); int count = 1; while (File.Exists(destPath)) { destPath = destDirectory + "\\" + Path.GetFileNameWithoutExtension(srcPath) + "_" + count.ToString() + Path.GetExtension(srcPath); count++; } if (move) { Console.WriteLine("【移動】{0}\r\n→{1}", srcPath, destPath); File.Move(srcPath, destPath); } else { Console.WriteLine("【コピー】{0}\r\n→{1}", srcPath, destPath); File.Copy(srcPath, destPath); } } } } static void Usage() { Console.WriteLine("使い方 ExtractFiles.exe [パターン] [コピー先ディレクトリ] /m /r"); Console.WriteLine("※検索対象はカレントディレクトリです。"); Console.WriteLine("※パターンにはワイルドカードが使えます。"); Console.WriteLine("※コピー先ディレクトリが存在しない場合、自動的に作成されます。"); Console.WriteLine(" /m ファイルをコピーではなく移動させます。"); Console.WriteLine(" /r サブディレクトリも再帰的に検索します。"); } } }
https://w.atwiki.jp/dailymotion_video/pages/32.html
凍結される前に下記サイトにブックマーク変更を宜しくお願い致します。 ■YouTubeエロ動画